from django.db import models
# python manage.py makemigrations 生成数据库迁移文件
# # python manage.py migrate 将生成的迁移文件应用到数据库，实际修改数据库结构。
# Create your models here.
class xgdata(models.Model):
    date_day = models.CharField(max_length=20)
    siwanglv = models.FloatField()
    kangfulv = models.FloatField()
    huoyuebingli = models.IntegerField()
    quezhen = models.IntegerField()
    siwang = models.IntegerField()
    huifu = models.IntegerField()
    pro = models.CharField(max_length=100)
    pro_cn =models.CharField(max_length=100)

class xgdata_Sum_By_Date(models.Model):
    date_day = models.CharField(max_length=20)
    siwanglv = models.FloatField()
    kangfulv = models.FloatField()
    huoyuebingli = models.IntegerField()
    quezhen = models.IntegerField()
    siwang = models.IntegerField()
    huifu = models.IntegerField()
